package com.dotflat.fin.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class APPPayAttach {

    private Integer rt;

    private String rid;

    @JSONField(serialize = false)
    @JsonIgnore
    public Integer getResourceType(){
        return rt;
    }

    @JSONField(serialize = false)
    @JsonIgnore
    public String getResourceId(){
        return rid;
    }

}